Skip to content

fix(ci): publish jobs skipped when release builds reuse CI artifacts - #175

Merged
zackees merged 1 commit into
mainfrom
fix/release-publish-skip
Jun 12, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/release-publish-skip

Conversation

@zackees

@zackees zackees commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • The v2.0.12 Auto Release run (27415484461) reused all six CI build artifacts as designed (chore(ci): reuse CI artifacts in auto-release, cache dylint toolchain #172), but publish-pypi and create-release were skipped: their plain if: implies job-level success(), which evaluates false when any transitive ancestor (the skipped build-* jobs) was skipped.
  • Gate both jobs on !cancelled() && should_release && needs.create-tag.result == 'success', the same pattern create-tag already uses.
  • After merge, the push to main re-triggers Auto Release: 2.0.12 is still absent from PyPI, create-tag tolerates the existing tag, and the publish jobs will run.

Refs #170

Test plan

  • actionlint .github/workflows/auto-release.yml passes
  • CI green on this PR
  • Post-merge Auto Release publishes v2.0.12 to PyPI and creates the GitHub release

…ct reuse

publish-pypi and create-release used a plain `if`, whose implied job-level
success() evaluates false when any transitive ancestor was skipped. With
collect-artifacts reusing CI artifacts, all six build-* jobs skip, so the
v2.0.12 run tagged the release but silently skipped publishing. Gate both
jobs explicitly on create-tag succeeding with !cancelled(), matching the
create-tag condition pattern.

Refs #170

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@zackees
zackees merged commit 073d564 into main Jun 12, 2026
22 checks passed
@zackees
zackees deleted the fix/release-publish-skip branch June 12, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant